package com.middlegroup.payadmin.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.middlegroup.payadmin.mapper.MerchantSubjectChannelRouterMapper;
import com.middlegroup.payadmin.pojo.po.MerchantSubjectChannelRouter;
import com.middlegroup.payadmin.service.MerchantSubjectChannelRouterService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 商户主体通道路由表 服务实现类
 * </p>
 *
 * @author pc123
 * @since 2019-01-04
 */
@Service
public class MerchantSubjectChannelRouterServiceImpl extends ServiceImpl<MerchantSubjectChannelRouterMapper, MerchantSubjectChannelRouter> implements MerchantSubjectChannelRouterService {

    @Resource
    private MerchantSubjectChannelRouterMapper merchantSubjectChannelRouterMapper;

    @Override
    public int saveOrUpdate(MerchantSubjectChannelRouter merchantSubjectChannelRouter) {
        return merchantSubjectChannelRouterMapper.saveOrUpdate(merchantSubjectChannelRouter);
    }
}
